package utils;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class BaiduSearchPage {

   // @FindBy(id = "kw")
    @FindBy(name="wd")
    private WebElement a;

    @FindBy(id = "su")
    private WebElement b;

    public void searchKeyWords(String text) {
        a.sendKeys(text);
        b.click();

    }
}